using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class VariableDocument : Single<VariableDocument>
{
    //进入界面人物图片路径
    public int figure_of_characters = 0;
    //选衣服后待保存
    public int num;
    //点击保存前人物图片下标
    public int ppr = 0;
    //点击保存后人物图片路径
    public int pr_characters = 0;

    //换装的服装列表
    public string[] clothes = { "Dress/11", "Dress/22", "Dress/33", "Dress/44", "Dress/55", "Dress/66", "Dress/77", "Dress/88", "Dress/99" };
    //服装是否被选中
    public bool isChangeClothes = false;
    //服装是否被保存
    public bool isSaveClothes = false;

    //魅力值//容貌值//情缘值//好感度 
    //人物属性数组
    public string[] attribute = { "魅力", "容貌", "情缘", "好感" };
    //人物属性值数组
    public int[] attribute_value = { 11, 22, 33, 44 };

    //所有男宠Assets/Resources/Appointment/千里.png
    public string[,] allHandsomeMen =
	{
		{"千里", "Appointment/千里"},
        {"泰也", "Appointment/泰也"},
		{"焰卫", "Appointment/焰卫"},
		{"终南", "Appointment/终南"},
		{"英招", "Appointment/英招"},
		{"雅鲁", "Appointment/雅鲁"},
	};
    //人物等级
    //public int grade = (GetInstance.attribute_value[0] + GetInstance.attribute_value[1] + GetInstance.attribute_value[2] + GetInstance.attribute_value[3]) / 100;//四属性加和除以一百
    public int Grade()
    {
        return (attribute_value[0] +attribute_value[1] + attribute_value[2] + attribute_value[3]) / 100;
    }
    //boos等级
    public int boos_grade = 1;
    //人物血量
    public int lead_blood_volume()
    {
        return 100 + Grade() * 100;//初始100，每升一级增加100
    }
    //boos血量
    public int boos_blood_volume = 100;//初始100，每被打败加20




}
